@mixin scroll-bar($width: 6px, $color: #ccc) {
  /* 设置滚动条的样式 */
  &::-webkit-scrollbar {
    cursor: pointer;
    width: $width;
    height: $width;
  }

  /* 滚动条滑块 */
  &::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: $color;
  }
}
